/**
 * Copyright ©2012-2018 HopeHaiyang Corporation, All Rights Reserved
 * http://www.wuhanhope.com
 */
package hope.platform.data.dao;

import hope.platform.data.domain.Emergency;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * class info
 *
 * @author hujia
 *         Create at 2018/7/25 10:22
 */

public interface EmergencyRepository extends MongoRepository<Emergency, String> {
    Page<Emergency> findByUserName(String userName, Pageable pageable);
}
